/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

// Shared between:
// - quizzes/compiler-quizzes.scss
// - compiler-gradebook.scss

#message_students_dialog {
  .button-container {
    text-align: right;
  }
  .student_list {
    max-height: 100px;
    overflow: auto;
    font-size: 0.8em;
    padding: 5px 0;
    margin: 0;
    list-style-type: none;
    li {
      float: left;
      padding: 2px 4px;
      margin: 1px 2px;
      background-color: #cdf;
      border: 1px solid #aaa;
      .score {
        display: none;
        padding-left: 5px;
        font-size: 0.9em;
        color: #444;
      }
      &:hover .remove-button {
        color: #444;
      }
      .remove-button {
        padding: 0px;
        color: #9ac;
        &:focus {
          color: #444;
        }
      }
    }
    &.show_score {
      li {
        .score {
          display: inline;
        }
      }
    }
  }
}
